package com.cxs.xiaomi.domain;


import java.math.BigDecimal;

/*
 * @Author:cxs
 * @Date:2021/9/14  15:07
 * @Version 1.0
 * @Motto:放下杂念,只为迎接明天更好的自己
 * */
public class OrderDetail {
    private Integer id;
    private String Oid;
    private Integer pid;
    private Integer num;
    private BigDecimal Money;

    private Goods goods;

    public OrderDetail() {
    }

    public OrderDetail(Integer id, String oid, Integer pid, Integer num, BigDecimal money) {
        this.id = id;
        Oid = oid;
        this.pid = pid;
        this.num = num;
        Money = money;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOid() {
        return Oid;
    }

    public void setOid(String oid) {
        Oid = oid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public BigDecimal getMoney() {
        return Money;
    }

    public void setMoney(BigDecimal money) {
        Money = money;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    @Override
    public String toString() {
        return "OrderDetail{" +
                "id=" + id +
                ", Oid='" + Oid + '\'' +
                ", pid=" + pid +
                ", num=" + num +
                ", Money=" + Money +
                '}';
    }
}
